package com.java.sevice;

import com.java.dto.ResultMsg;

import java.math.BigDecimal;

/**
 * @author xulu
 * @date 2021/7/1
 * @desc
 */
public interface ITransferService {

    ResultMsg transferMoney(Long accountId, BigDecimal amount);

    ResultMsg confirmTransfer(Long accountId, BigDecimal amount);

    ResultMsg cancelTransfer(Long accountId, BigDecimal amount);

}
